import type { ApplianceDetail, ApplianceSetting, ApplianceSimpleSetting, FavouriteListType } from '@/api/appliance'
import { DemoBIWD } from '../list'
import netconfig from '@/config/netconfig'
import type { DemoDatasource } from '@/demo/types'

/**
 * 详情
 */
export const DemoDetail: ApplianceDetail = {
  ...DemoBIWD,
  enumber: '',
  fd: '',
  zn: '',
  serialnumber: '',
  usageReport: true,
  installable: false,
  guest: false,
  photo: `${netconfig.PHOTO_IMAGE}WS7060BB1C/WS7060BB1C.png`,
  programKey: null,
  programName: null,
  option: null,
  zh: '嵌饮机',
}

/**
 * 配置
 */
export const DemoSettings: Array<ApplianceSetting> = [
  {
    default: 'BSH.Common.Status.ChildLock.Off',
    param: 'cld_lock',
    name: '童锁状态',
    type: 'enum',
    value: 1,
    key: 'BSH.Common.Status.ChildLock',
    enumValues: [
      {
        machineValue: '0',
        en: 'OFF',
        bshValue: 'BSH.Common.Status.ChildLock.Off',
        zh: '关',
      },
      {
        machineValue: '1',
        en: 'ON',
        bshValue: 'BSH.Common.Status.ChildLock.On',
        zh: '开',
      },
    ],
  },
  {
    default: 'BSH.Common.Status.DoorState.Open',
    param: 'dr_sta',
    name: '门状态',
    type: 'enum',
    value: 1,
    key: 'BSH.Common.Status.DoorState',
    enumValues: [
      {
        machineValue: '0',
        en: 'Open',
        bshValue: 'BSH.Common.Status.DoorState.Open',
        zh: '开',
      },
      {
        machineValue: '1',
        en: 'Close',
        bshValue: 'BSH.Common.Status.DoorState.Close',
        zh: '关',
      },
      {
        machineValue: '2',
        en: 'Lock',
        bshValue: 'BSH.Common.Status.DoorState.Lock',
        zh: '锁',
      },
    ],
  },
  {
    default: 'WaterTreatment.BIWD.Status.PondingBox.Normal',
    param: 'wt_tk_sta',
    name: '积水盒状态',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Status.PondingBox',
    enumValues: [
      {
        machineValue: '0',
        en: 'Popup',
        bshValue: 'WaterTreatment.BIWD.Status.PondingBox.Normal',
        zh: '积水盒正常',
      },
      {
        machineValue: '1',
        en: 'Normal',
        bshValue: 'WaterTreatment.BIWD.Status.PondingBox.Fill',
        zh: '积水盒满',
      },
    ],
  },
  {
    default: '0',
    min: '0',
    param: 'filt1_usage',
    max: '100',
    name: '滤芯1使用百分比',
    en: null,
    step: '1',
    type: 'scope',
    value: 100,
    key: 'WaterTreatment.BIWD.Status.Filter1Usage',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'filt2_usage',
    max: '100',
    name: '滤芯2使用百分比',
    en: null,
    step: '1',
    type: 'scope',
    value: 100,
    key: 'WaterTreatment.BIWD.Status.Filter2Usage',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'filt1_rest',
    max: '1095',
    name: '滤芯1剩余寿命',
    en: null,
    step: '1',
    type: 'scope',
    value: 1095,
    key: 'WaterTreatment.BIWD.Status.Filter1Rest',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'filt2_rest',
    max: '365',
    name: '滤芯2剩余寿命',
    en: null,
    step: '1',
    type: 'scope',
    value: 364,
    key: 'WaterTreatment.BIWD.Status.Filter2Rest',
    zh: null,
  },
  {
    default: 'BSH.Common.Status.LocalControlActive.Off',
    param: 'oly_oper',
    name: '本地控制激活',
    type: 'enum',
    value: 0,
    key: 'BSH.Common.Status.LocalControlActive',
    enumValues: [
      {
        machineValue: '0',
        en: 'Off',
        bshValue: 'BSH.Common.Status.LocalControlActive.Off',
        zh: '正常',
      },
      {
        machineValue: '1',
        en: 'Present',
        bshValue: 'BSH.Common.Status.LocalControlActive.Present',
        zh: '显示',
      },
    ],
  },
  {
    default: 'BSH.Common.Setting.SynchronousSetting.Off',
    param: 'synch_set',
    name: '同步设定',
    type: 'enum',
    value: 1,
    key: 'BSH.Common.Setting.SynchronousSetting',
    enumValues: [
      {
        machineValue: '0',
        en: 'OFF',
        bshValue: 'BSH.Common.Setting.SynchronousSetting.Off',
        zh: '关',
      },
      {
        machineValue: '1',
        en: 'ON',
        bshValue: 'BSH.Common.Setting.SynchronousSetting.On',
        zh: '开',
      },
    ],
  },
  {
    default: 'BSH.Common.Status.OperationState.Standby',
    param: 'run_sta',
    name: '运行状态',
    type: 'enum',
    value: 0,
    key: 'BSH.Common.Status.OperationState',
    enumValues: [
      {
        machineValue: '0',
        en: 'Standby',
        bshValue: 'BSH.Common.Status.OperationState.Standby',
        zh: '待机',
      },
      {
        machineValue: '1',
        en: 'Ready',
        bshValue: 'BSH.Common.Status.OperationState.Ready',
        zh: '就绪',
      },
      {
        machineValue: '2',
        en: 'Delayedstart',
        bshValue: 'BSH.Common.Status.OperationState.Delayedstart',
        zh: '延时启动',
      },
      {
        machineValue: '3',
        en: 'Run',
        bshValue: 'BSH.Common.Status.OperationState.Run',
        zh: '运行',
      },
      {
        machineValue: '4',
        en: 'Pause',
        bshValue: 'BSH.Common.Status.OperationState.Pause',
        zh: '暂停',
      },
      {
        machineValue: '5',
        en: 'ActionRequired',
        bshValue: 'BSH.Common.Status.OperationState.ActionRequired',
        zh: '操作请求',
      },
      {
        machineValue: '6',
        en: 'ProgramFinished',
        bshValue: 'BSH.Common.Status.OperationState.ProgramFinished',
        zh: '完成',
      },
      {
        machineValue: '7',
        en: 'Error',
        bshValue: 'BSH.Common.Status.OperationState.Error',
        zh: '错误',
      },
      {
        machineValue: '8',
        en: 'Aborting',
        bshValue: 'BSH.Common.Status.OperationState.Aborting',
        zh: '退出',
      },
    ],
  },
  {
    default: 'WaterTreatment.BIWD.Status.WashRequest.Off',
    param: 'wash_request',
    name: '冲洗提醒',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Status.WashRequest',
    enumValues: [
      {
        machineValue: '0',
        en: 'Off',
        bshValue: 'WaterTreatment.BIWD.Status.WashRequest.Off',
        zh: '正常',
      },
      {
        machineValue: '1',
        en: 'Present',
        bshValue: 'WaterTreatment.BIWD.Status.WashRequest.Present',
        zh: '显示',
      },
    ],
  },
  {
    default: 'WaterTreatment.BIWD.Setting.ChildLockSet.Off',
    param: 'cldlock_set',
    name: '设置童锁开关',
    type: 'enum',
    value: 1,
    key: 'WaterTreatment.BIWD.Setting.ChildLockSet',
    enumValues: [
      {
        machineValue: '0',
        en: 'close',
        bshValue: 'WaterTreatment.BIWD.Setting.ChildLockSet.Off',
        zh: '关',
      },
      {
        machineValue: '1',
        en: 'open',
        bshValue: 'WaterTreatment.BIWD.Setting.ChildLockSet.On',
        zh: '开',
      },
    ],
  },
  {
    default: 'BSH.Common.Status.Descaling.Off',
    param: 'clean_sta',
    name: '清洁状态',
    type: 'enum',
    value: 0,
    key: 'BSH.Common.Status.Descaling',
    enumValues: [
      {
        machineValue: '0',
        en: 'Off',
        bshValue: 'BSH.Common.Status.Descaling.Off',
        zh: '正常',
      },
      {
        machineValue: '1',
        en: 'CleanFilter1',
        bshValue: 'BSH.Common.Status.Descaling.CleanFilter1',
        zh: '滤芯1冲洗',
      },
      {
        machineValue: '2',
        en: 'CleanFilter2',
        bshValue: 'BSH.Common.Status.Descaling.CleanFilter2',
        zh: '滤芯2冲洗',
      },
      {
        machineValue: '3',
        en: 'CleanPipe',
        bshValue: 'BSH.Common.Status.Descaling.CleanPipe',
        zh: '管路冲洗',
      },
    ],
  },
  {
    default: 'BSH.Common.Status.SetView.Off',
    param: 'set_view',
    name: '设置页面',
    type: 'enum',
    value: 0,
    key: 'BSH.Common.Status.SetView',
    enumValues: [
      {
        machineValue: '0',
        en: 'Off',
        bshValue: 'BSH.Common.Status.SetView.Off',
        zh: '正常',
      },
      {
        machineValue: '1',
        en: 'Present',
        bshValue: 'BSH.Common.Status.SetView.Present',
        zh: '显示',
      },
    ],
  },
  {
    default: '0',
    min: '0',
    param: 'use_tm',
    max: '65535',
    name: '机器使用时间',
    en: null,
    step: '1',
    type: 'scope',
    value: 380,
    key: 'BSH.Common.Status.UseTime',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'filter_vol',
    max: '999999',
    name: '机器过滤水量',
    en: null,
    step: '1',
    type: 'scope',
    value: 4526,
    key: 'BSH.Common.Status.FilterVolume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'product_vol',
    max: '999999',
    name: '机器出水量',
    en: null,
    step: '1',
    type: 'scope',
    value: 1958,
    key: 'BSH.Common.Status.ProductVolume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'tds_rw',
    max: '3000',
    name: 'TDS值显示-原水',
    en: null,
    step: '1',
    type: 'scope',
    value: 159,
    key: 'WaterTreatment.BIWD.Status.TDSRawWater',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'tds_wp',
    max: '3000',
    name: 'TDS值显示-净水',
    en: null,
    step: '1',
    type: 'scope',
    value: 2,
    key: 'WaterTreatment.BIWD.Status.TDSPureWater',
    zh: null,
  },
  {
    default: 'WaterTreatment.BIWD.Setting.DatConfig.OFF',
    param: 'Dat_Config',
    name: '数据操作字段',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.DatConfig',
    enumValues: [
      {
        machineValue: '0',
        en: 'OFF',
        bshValue: 'WaterTreatment.BIWD.Setting.DatConfig.OFF',
        zh: '无',
      },
      {
        machineValue: '1',
        en: 'Get',
        bshValue: 'WaterTreatment.BIWD.Setting.DatConfig.Get',
        zh: '获取',
      },
      {
        machineValue: '2',
        en: 'Set',
        bshValue: 'WaterTreatment.BIWD.Setting.DatConfig.Set',
        zh: '设置',
      },
      {
        machineValue: '3',
        en: 'SetCollect',
        bshValue: 'WaterTreatment.BIWD.Setting.DatConfig.SetCollect',
        zh: '设置收藏',
      },
      {
        machineValue: '4',
        en: 'SyncCollect',
        bshValue: 'WaterTreatment.BIWD.Setting.DatConfig.SyncCollect',
        zh: '同步收藏',
      },
    ],
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name1',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13312,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name2',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name3',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name4',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name5',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name6',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name7',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name8',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name9',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_name10',
    max: '65535',
    name: '收藏程序1名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav1_temp',
    max: '95',
    name: '收藏程序1温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 36,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav1_vol',
    max: '100',
    name: '收藏程序1容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav1_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 7,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram1Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name1',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 4450,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name2',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 33910,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name3',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13925,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name4',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 53125,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name5',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 27985,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name6',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name7',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name8',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name9',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_name10',
    max: '65535',
    name: '收藏程序2名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav2_temp',
    max: '95',
    name: '收藏程序2温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 35,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav2_vol',
    max: '100',
    name: '收藏程序3容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav2_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram2Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name1',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 4450,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name2',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 33910,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name3',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13925,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name4',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 53125,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name5',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13056,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name6',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name7',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name8',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name9',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_name10',
    max: '65535',
    name: '收藏程序3名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav3_temp',
    max: '95',
    name: '收藏程序3温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 35,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav3_vol',
    max: '100',
    name: '收藏程序3容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav3_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 8,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram3Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name1',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 4450,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name2',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 33910,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name3',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13925,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name4',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 53125,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name5',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 14080,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name6',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name7',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name8',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name9',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_name10',
    max: '65535',
    name: '收藏程序4名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav4_temp',
    max: '95',
    name: '收藏程序4温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 35,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav4_vol',
    max: '100',
    name: '收藏程序4容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav4_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 1,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram4Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name1',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 19200,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name2',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 25088,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name3',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 28928,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name4',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name5',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name6',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name7',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name8',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name9',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_name10',
    max: '65535',
    name: '收藏程序5名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav5_temp',
    max: '95',
    name: '收藏程序5温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 35,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav5_vol',
    max: '100',
    name: '收藏程序5容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav5_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram5Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name1',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 4450,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name2',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 33910,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name3',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13925,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name4',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 53125,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name5',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13568,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name6',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name7',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name8',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name9',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_name10',
    max: '65535',
    name: '收藏程序6名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav6_temp',
    max: '95',
    name: '收藏程序6温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 35,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav6_vol',
    max: '100',
    name: '收藏程序6容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 20,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav6_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 4,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram6Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name1',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 19200,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name2',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 25088,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name3',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 28928,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name4',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 28160,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name5',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name6',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name7',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name8',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name9',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_name10',
    max: '65535',
    name: '收藏程序7名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav7_temp',
    max: '95',
    name: '收藏程序7温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 35,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav7_vol',
    max: '100',
    name: '收藏程序7容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 13,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav7_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram7Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name1',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 4450,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name2',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 33910,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name3',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13925,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name4',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 53125,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name5',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 12544,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name6',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name7',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name8',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name9',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_name10',
    max: '65535',
    name: '收藏程序8名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav8_temp',
    max: '95',
    name: '收藏程序8温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 50,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav8_vol',
    max: '100',
    name: '收藏程序8容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 25,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav8_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram8Picture',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name1',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 4450,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name1',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name2',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 33910,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name2',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name3',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 13925,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name3',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name4',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 53125,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name4',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name5',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 12800,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name5',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name6',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name6',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name7',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name7',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name8',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name8',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name9',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name9',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_name10',
    max: '65535',
    name: '收藏程序9名称',
    en: null,
    step: '1',
    type: 'scope',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Name10',
    zh: null,
  },
  {
    default: '0',
    min: '35',
    param: 'fav9_temp',
    max: '95',
    name: '收藏程序9温度',
    en: null,
    step: '1',
    type: 'scope',
    value: 95,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Temp',
    zh: null,
  },
  {
    default: '0',
    min: '10',
    param: 'fav9_vol',
    max: '100',
    name: '收藏程序9容量',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Volume',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'fav9_pic',
    max: '20',
    name: '程序图片序号选择',
    en: null,
    step: '1',
    type: 'scope',
    value: 10,
    key: 'WaterTreatment.BIWD.Setting.FavoriteProgram9Picture',
    zh: null,
  },
  {
    default: 'WaterTreatment.BIWD.Setting.StandbyTime.30Seconds',
    param: 'standby_tm',
    name: '待机时长',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.StandbyTime',
    enumValues: [
      {
        machineValue: '0',
        en: '30s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.30Seconds',
        zh: '30s',
      },
      {
        machineValue: '1',
        en: '60s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.60Seconds',
        zh: '60s',
      },
      {
        machineValue: '2',
        en: '180s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.180Seconds',
        zh: '180s',
      },
      {
        machineValue: '3',
        en: '300s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.300Seconds',
        zh: '300s',
      },
    ],
  },
  {
    default: 'WaterTreatment.BIWD.Setting.NightModeState.Off',
    param: 'nm_sta',
    name: '夜间模式开关',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.NightModeState',
    enumValues: [
      {
        machineValue: '0',
        en: 'OFF',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeState.Off',
        zh: '关',
      },
      {
        machineValue: '1',
        en: 'ON',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeState.On',
        zh: '开',
      },
    ],
  },
  {
    default: '0',
    min: '0',
    param: 'nm_start',
    max: '2400',
    name: '夜间模式开始时间',
    en: null,
    step: '1',
    type: 'scope',
    value: 2358,
    key: 'WaterTreatment.BIWD.Setting.NightModeStartTime',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'nm_end',
    max: '2400',
    name: '夜间模式结束时间',
    en: null,
    step: '1',
    type: 'scope',
    value: 2300,
    key: 'WaterTreatment.BIWD.Setting.NightModeEndTime',
    zh: null,
  },
  {
    default: 'WaterTreatment.BIWD.Setting.CollectionOperation.Off',
    param: 'nm_volume',
    name: '收藏操作指令',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.CollectionOperation',
    enumValues: [
      {
        machineValue: '0',
        en: 'Off',
        bshValue: 'WaterTreatment.BIWD.Setting.CollectionOperation.Off',
        zh: '关',
      },
      {
        machineValue: '1',
        en: 'Add',
        bshValue: 'WaterTreatment.BIWD.Setting.CollectionOperation.Add',
        zh: '新增',
      },
      {
        machineValue: '2',
        en: 'Edit',
        bshValue: 'WaterTreatment.BIWD.Setting.CollectionOperation.Edit',
        zh: '编辑',
      },
      {
        machineValue: '3',
        en: 'Delete',
        bshValue: 'WaterTreatment.BIWD.Setting.CollectionOperation.Delete',
        zh: '删除',
      },
      {
        machineValue: '4',
        en: 'Upload',
        bshValue: 'WaterTreatment.BIWD.Setting.CollectionOperation.Upload',
        zh: '上报',
      },
    ],
  },
  {
    default: 'WaterTreatment.BIWD.Setting.NightModeBright.Minimum',
    param: 'nm_bright',
    name: '夜间模式亮度设置',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.NightModeBright',
    enumValues: [
      {
        machineValue: '0',
        en: 'Minimum',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Minimum',
        zh: '最低',
      },
      {
        machineValue: '1',
        en: 'Low',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Low',
        zh: '低',
      },
      {
        machineValue: '2',
        en: 'Middle',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Middle',
        zh: '中',
      },
      {
        machineValue: '3',
        en: 'High',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.High',
        zh: '高',
      },
      {
        machineValue: '4',
        en: 'Highest',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Highest',
        zh: '最高',
      },
    ],
  },
  {
    default: '0',
    min: '0',
    param: 'err_code1',
    max: '65535',
    name: '机器错误码',
    en: null,
    step: '1',
    type: 'scope',
    value: 8,
    key: 'BSH.Common.Error',
    zh: null,
  },
]

export const DemoSimpleSettings: ApplianceSimpleSetting[] = [
  {
    default: 'WaterTreatment.BIWD.Setting.StandbyTime.30Seconds',
    param: 'standby_tm',
    name: '待机时长',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.StandbyTime',
    enumValues: [
      {
        machineValue: '0',
        en: '30s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.30Seconds',
        zh: '30s',
      },
      {
        machineValue: '1',
        en: '60s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.60Seconds',
        zh: '60s',
      },
      {
        machineValue: '2',
        en: '180s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.180Seconds',
        zh: '180s',
      },
      {
        machineValue: '3',
        en: '300s',
        bshValue: 'WaterTreatment.BIWD.Setting.StandbyTime.300Seconds',
        zh: '300s',
      },
    ],
  },
  {
    default: 'WaterTreatment.BIWD.Setting.NightModeState.Off',
    param: 'nm_sta',
    name: '夜间模式开关',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.NightModeState',
    enumValues: [
      {
        machineValue: '0',
        en: 'OFF',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeState.Off',
        zh: '关',
      },
      {
        machineValue: '1',
        en: 'ON',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeState.On',
        zh: '开',
      },
    ],
  },
  {
    default: '0',
    min: '0',
    param: 'nm_start',
    max: '2400',
    name: '夜间模式开始时间',
    en: null,
    step: '1',
    type: 'scope',
    value: 2358,
    key: 'WaterTreatment.BIWD.Setting.NightModeStartTime',
    zh: null,
  },
  {
    default: '0',
    min: '0',
    param: 'nm_end',
    max: '2400',
    name: '夜间模式结束时间',
    en: null,
    step: '1',
    type: 'scope',
    value: 2300,
    key: 'WaterTreatment.BIWD.Setting.NightModeEndTime',
    zh: null,
  },
  {
    default: 'WaterTreatment.BIWD.Setting.NightModeBright.Minimum',
    param: 'nm_bright',
    name: '夜间模式亮度设置',
    type: 'enum',
    value: 0,
    key: 'WaterTreatment.BIWD.Setting.NightModeBright',
    enumValues: [
      {
        machineValue: '0',
        en: 'Minimum',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Minimum',
        zh: '最低',
      },
      {
        machineValue: '1',
        en: 'Low',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Low',
        zh: '低',
      },
      {
        machineValue: '2',
        en: 'Middle',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Middle',
        zh: '中',
      },
      {
        machineValue: '3',
        en: 'High',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.High',
        zh: '高',
      },
      {
        machineValue: '4',
        en: 'Highest',
        bshValue: 'WaterTreatment.BIWD.Setting.NightModeBright.Highest',
        zh: '最高',
      },
    ],
  },
]

export const DemoFavouriteList: FavouriteListType[] = [
  {
    fav_vol: '10',
    name: '我的收藏1',
    fav_temp: '36',
    fav_pic: '7',
  },
  {
    fav_vol: '10',
    name: '我的收藏2',
    fav_temp: '35',
    fav_pic: '0',
  },
  {
    fav_vol: '10',
    name: '我的收藏3',
    fav_temp: '35',
    fav_pic: '8',
  },
  {
    fav_vol: '10',
    name: '我的收藏4',
    fav_temp: '35',
    fav_pic: '1',
  },
]

export default <DemoDatasource>{
  detail: DemoDetail,
  settings: DemoSettings,
}
